<%--
  Created by IntelliJ IDEA.
  User: admin
  Date: 2021/4/22
  Time: 10:45
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<div class="container-fluid" style="height: 50px">
    <div class="row">
        <nav class="navbar navbar-inverse" role="navigation">
            <div class="container-fluid">
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle" data-toggle="collapse"
                            data-target="#example-navbar-collapse">
                        <span class="sr-only">切换导航</span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                    <a class="navbar-brand" href="#">学生宿舍服务平台</a>
                </div>
                <div class="collapse navbar-collapse navbar-right" id="example-navbar-collapse">
                    <ul class="nav navbar-nav">
                        <li class="active"><a href="/jkd/service/student/index">主页</a></li>
                        <li class="dropdown">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                                个人中心 <b class="caret"></b>
                            </a>
                            <ul class="dropdown-menu ">
                                <li><a href="/jkd/service/student/modify" >修改信息</a></li>
                            </ul>
                        </li>
                        <li class="active"><a href="javascript:userExit()">退出</a></li>
                    </ul>
                </div>
            </div>
        </nav>
    </div>
    <script>
        function userExit() {
         window.location ="/jkd/login.jsp?exit=1"
        }
    </script>
</div>

